{layout name="common@common_layout/template" /}

<section class="panel panel-default">
	<header class="panel-heading">
		<h3 class="m-b-none">首页</h3>
	</header>
	<div class="row wrapper" style="text-align: center;">
		<div style="display: {$Think.session.common_show_all_data?'inline-block':'none'}" >
			<span>职员:</span>
			<select class="input-sm form-control input-s-sm inline v-middle" name="staff_id">
				<option value="999">全部</option>
				{volist name="staff_name_list" id="staff_name"}
				<option value="{$staff_name.id}">{$staff_name.name}</option>
				{/volist}
			</select>
		</div>
		<span>开始日期:</span><input class="Wdate" type="text" onClick="WdatePicker()" placeholder="请选择日期" name="start_date">
		<span>结束日期:</span><input class="Wdate" type="text" onClick="WdatePicker()" placeholder="请选择日期" name="end_date">
		<button class="btn btn-sm btn-default home_confirm">确定</button>
	</div>
	<div class="row" style="margin-bottom: 6%;">
		<div class="col-sm-6">
			<div id="visit_state" class="home_data">
			</div>
		</div>
		<div class="col-sm-6">
			<div id="intention_id" class="home_data">
			</div>
		</div>
		<div class="col-sm-6">
			<div id="channel_id" class="home_data">
			</div>
		</div>
		<div class="col-sm-6" style="display: {$Think.session.common_show_all_data?'inline-block':'none'}">
			<div id="all_data" class="home_data">
			</div>
		</div>
	</div>
</section>
<script src="/static/js/home/home.js" type="text/javascript" charset="utf-8"></script>